package qs.openxt.libs.activity;

import android.content.Intent;
import android.os.Bundle;

import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaActivity;

import qs.openxt.libs.App;

/**
 * Created by 颖杰_2 on 2016/3/16.
 */
public class OpenxtActivity extends CordovaActivity{
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        App.PATH_NAME = getPackageName();
    }

    private CallbackContext callbackContext;
    private String action;

    public void setCallbackContext(CallbackContext callbackContext, String action){
        this.callbackContext = callbackContext;
        this.action = action;
    }

    public void onActivityResult(final int requestCode, final int resultCode, final Intent intent) {
        super.onActivityResult(requestCode, resultCode, intent);
    }
}
